<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>无标题</title>
<script type="text/javascript" src="http://devstatic.joyowo.com/lib/seajs/2.3.0/sea.js"></script>
<script type="text/javascript" src="http://devstatic.joyowo.com/lib/seajs-plugins/seajs-preload/1.0.0/seajs-preload.js"></script>
<script type="text/javascript" src="http://devstatic.joyowo.com/public/global/config/seajs/seajs-config.js"></script>

</head>
<body>
<script type="text/javascript">
seajs.use(['{plugins}/lodash/3.9.2/lodash'], function(_) {
  var a = [1,2,3,4];
  console.log(_.chunk(a, 2))


  var b = [1, undefined , NaN , 0 , false]

  console.log(_.compact(b))


  var c = [2,4]

  console.log(_.difference(a, c));



});
// $(function(){

// });
</script>
</body>
</html>

